package myJs.myPkg.highcharts

import myJs.myPkg.jquery.JQuery
import myJs.myPkg.jsext._

import scala.scalajs.js
import scala.language.implicitConversions
import scala.scalajs.js.JSConverters._
import scala.scalajs.js.annotation.JSImport
import scala.scalajs.js.annotation.JSImport.Namespace

/**
 * Created by yz on 2019/3/14
 */

object Title extends TitleBuilder(noOpts)

class TitleBuilder(val dict: OptMap) extends JSOptionBuilder[Title, TitleBuilder](new TitleBuilder(_)) {

  def text(v: String) = jsOpt("text", v)

}

trait Title extends js.Object {

}
